| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | 'use strict' |
||
| 6 | function runProcess (script) { |
||
| 7 | var process = childProcess.exec(script) |
||
| 8 | output.logComponent('Script', 'blue', 'Executing "' + script + '"') |
||
| 9 | process.on('exit', function (code) { |
||
| 10 | output.logComponent('Script', 'blue', 'Exited with code ' + code) |
||
| 11 | }) |
||
| 12 | process.stderr.on('data', function (message) { |
||
| 13 | output.logComponent('Script', 'blue', message) |
||
| 14 | }) |
||
| 15 | process.stdout.on('data', function (message) { |
||
| 16 | output.logComponent('Script', 'blue', message) |
||
| 17 | }) |
||
| 18 | } |
||
| 19 | |||
| 23 |